//package com.qf.cardlikeboot.Config;
//
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.stereotype.Controller;
//import springfox.documentation.service.ApiInfo;
//import springfox.documentation.service.Contact;
//import springfox.documentation.spi.DocumentationType;
//import springfox.documentation.spring.web.plugins.Docket;
//import springfox.documentation.swagger2.annotations.EnableSwagger2;
//
//import javax.print.Doc;
//import java.util.ArrayList;
//
///**
// * @author 钻五大人
// * @date 2022/5/22 12:27
// */
//@Configuration
//@EnableSwagger2
//public class SwaggerConfig {
//
//    @Bean
//    public Docket docket() {
//        return new Docket(DocumentationType.SWAGGER_2).apiInfo(apiInfo());
//    }
//
//    private ApiInfo apiInfo() {
//        // 作者信息
//        Contact contact = new Contact("钻五大人", "http://124.223.190.53:90/", "1173308176@qq.com");
//        return new ApiInfo("名片点赞系统", "名片点赞喜欢新增名片", "1.0.0", "http://124.223.190.53:90/8080", contact, "Apache 2.0", "http://www.apache.org/licenses/LICENSE-2.0", new ArrayList());
//    }
//
//}
